package com.cfs.po.sys;

import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import com.cfs.po.Vo;

@XmlRootElement(name = "Menu")
public class Menu extends Vo{

	private Long id;
	private Long pid;
	private List<Menu> subMenu;
	private String name;
	private String page;
	private Integer tag;
	
	private List<Right> rightsList;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getPid() {
		return pid;
	}

	public void setPid(Long pid) {
		this.pid = pid;
	}

	public List<Menu> getSubMenu() {
		return subMenu;
	}

	public void setSubMenu(List<Menu> subMenu) {
		this.subMenu = subMenu;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPage() {
		return page;
	}

	public void setPage(String page) {
		this.page = page;
	}

	public List<Right> getRightsList() {
		return rightsList;
	}

	public Integer getTag() {
		return tag;
	}

	public void setTag(Integer tag) {
		this.tag = tag;
	}

	public void setRightsList(List<Right> rightsList) {
		this.rightsList = rightsList;
	}

}
